//
//  ViewController.swift
//  ihotel
//
//  Created by wisdom on 15/10/13.
//  Copyright © 2015年 wisdom. All rights reserved.
//

import UIKit
import JavaScriptCore

class ViewController: UIViewController,UIWebViewDelegate {
    @IBOutlet var webView: UIWebView!
    
    let uri = "http://192.168.1.106/dd/hotel/logon.html"

    override func viewDidLoad() {
    
        super.viewDidLoad()
        print("chulailem....")
        // Do any additional setup after loading the view, typically from a nib.
        self.webView.delegate = self
        
        self.webView.loadRequest(NSURLRequest(URL: NSURL(string:uri)!))
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    
}

